Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Changing the Shape of the Cursor

Many applications change the shape of the cursor depending on what it's currently over. The standard movie controller never changes the cursor, but other movie controllers may need to. An example of this is the QuickTime VR movie controller. Unfortunately, many applications need to control the cursor themselves--when a movie controller changes the cursor, these applications change it back immediately.

A simple solution is for applications to change the cursor only when it's first placed over a movie. (To determine whether a pointer is over the movie, use MCPtInController .) After that, let the movie controller control the cursor until it exits the area over the movie. To give the movie controller the opportunity to change the cursor's shape, you must call either MCIsPlayerEvent or MCIdle while the cursor is over the movie, even if the movie is stopped. You can use the mcActionSetCursorSettingEnabled action to disable changes by movie controllers.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |